package com.gxnualbert.proxy.intercept;

import java.lang.reflect.Method;

/**
 * @auther gxnualbert
 * @create 2021-05-03-19:59
 */
public interface Interceptor {
    // 接口只有方法的定义，没有具体的实现！！！！
    public boolean before(Object proxy, Object target, Method method, Object[] args);
    public void around(Object proxy, Object target, Method method, Object[] args);
    public void after(Object proxy, Object target, Method method, Object[] args);

}
